package com.staticd;

public class StaticDemo {
	public static int a = 10;
	static String name = "12";
	static {
		System.out.println(name);
	}

	public final static void main(String[] s) {
		StaticDemo s1 = new StaticDemo();
		s1.a = s1.a + 10;
		StaticDemo s2 = new StaticDemo();
		s2.a = s2.a + 10;
		System.out.println(s1.a);
	}

}
